package com.changhongit.service;

import com.changhongit.entity.Order;
import com.changhongit.returnentity.ReturnOrder;
import com.changhongit.util.PageView;

public interface OrderService {

	public void add(Order order);

	public PageView query(PageView pageView, ReturnOrder returnOrder);

	public Order getById(String id);

	public void modify(Order order);

	public int findCountOrder();
	
	public PageView queryServiceOrderNum(PageView pageView,ReturnOrder returnOrder);
	
	public PageView queryServiceOrderNumYear(PageView pageView,ReturnOrder order);
	
	public PageView queryRevenueByYear(PageView pageView,ReturnOrder order);
	
	public PageView queryServiceUserRevenueByYear(PageView pageView,ReturnOrder order);
	
	public int queryUnReadOrder(ReturnOrder returnOrder);
	
	public PageView queryServiceOrderNumMonth(PageView pageView,ReturnOrder order);
	
	public PageView queryServiceOrderNumYMonth(PageView pageView,ReturnOrder order);
	
	public PageView queryServiceUserRevenueByMonth(PageView pageView,ReturnOrder order);
	
	public PageView queryServiceUserRevenueByYMonth(PageView pageView,ReturnOrder order);
	
	public PageView queryRevenueByMonth(PageView pageView,ReturnOrder order);
	
	public PageView queryRevenueByYmonth(PageView pageView,ReturnOrder order);

}
